package
        com.zzc.fee.controller.apis;

import com.hos.vo.Result;
import com.zzc.fee.service.OrderChargeService;
import com.zzc.fee.vo.OrderChargeVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author：xIAO_ZHOU_TX
 * @date：Created in 2023/12/26 11:26
 * @description：
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("/fee/api/statistics/revenue")
@Api(value = "收支统计相关接口",tags = "收支统计相关接口")
public class APIRevenueController {

    @Resource
    private OrderChargeService orderChargeService;

    @PostMapping("/queryAllRevenueData")
    @ApiOperation("查询现金/支付宝支付/微信支付")
    public  Result<List<List>> queryAllRevenueData(@RequestBody OrderChargeVo orderChargeVo){
        return new Result<>(200,"查询成功",orderChargeService.queryAllRevenueData(orderChargeVo));
    }


}